$(function () {

    $("#addData").on("click", function () {
        var meetTitle = $("#meetTitle").val();
        var startDate = $("#startTime").val();
        var endDate = $("#endTime").val();
        var addSel = $.Params.create();
        addSel.addParams("meetTitle", meetTitle);
        addSel.addParams("startDate", startDate);
        addSel.addParams("endDate", endDate);
        addSel.ajax("post", getMeetIP() + "meet", function (data) {
          
               window.location.href = "meetList.html";
           
        })
    })

    $("#cancelAdd").on("click", function () {
        history.go(-1);
    })
})